package com.pro.common.modules.service.dependencies.service;

import com.pro.framework.api.enums.ITaskCursorKey;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.extern.slf4j.Slf4j;

@Schema(description = "Sql执行类的_基础游标型同步任务")
@Slf4j
public abstract class BaseSqlExecuteJob extends BaseExecuteJob {
    public BaseSqlExecuteJob(SqlExecuteComponents components, ITaskCursorKey cursorKey, String sql, String updateTableName) {
        super(components, new SqlExecuteCursorSyncHandler(components.getJdbcTemplate(), cursorKey, sql, updateTableName));
    }
}
